package org.rain.core.sys.model.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import org.rain.core.model.PersistenceModel;

/**
 * created by yangtong on 2025/4/8 16:36:26
 * <br/>
 * 字典
 */
@Data
public class SysDict extends PersistenceModel<SysDict> {

    /**
     * 字典名称
     */
    private String dictName;

    /**
     * 字典编码，唯一
     */
    private String dictCode;

    /**
     * 字典值
     */
    private String dictValue;

    /**
     * 字典值对应的显示文本
     */
    private String dictText;

    /**
     * 字段排序
     */
    private Integer sortOrder;

    /**
     * 0-字典/1-字典项
     */
    private Integer type;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;
}
